package cn.eleven.entity;

public enum RoomStatus {
    AVAILABLE, OCCUPIED, MAINTENANCE, CLOSED;

    public static RoomStatus fromString(String status) {
        try {
            return RoomStatus.valueOf(status.toUpperCase());
        } catch (Exception e) {
            return null;
        }
    }
}
